package ott.neumont;

import javax.xml.bind.annotation.*;

@XmlRootElement(name = "KeyPart")
/**
 * KeyParts represents a complete key
 * Contains a private key along with a public key
 * @author Caleb
 *
 */
public class KeyParts {

	private Key privateKey;
	private Key publicKey;

	public KeyParts(Key privateKey, Key publicKey) {
		this.privateKey = privateKey;
		this.publicKey = publicKey;
	}

	public KeyParts() {
	}

	public Key getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(Key privateKey) {
		this.privateKey = privateKey;
	}

	public Key getPublicKey() {
		return publicKey;
	}

	public void setPublicKey(Key publicKey) {
		this.publicKey = publicKey;
	}

}
